animated the player