Changed device dependent to better programming style