got sprites working, but not in sprite class. Need to get working through sprite class