made the sprite component to function