work on sprite class