added sprite class