Refactoring Sprite