modify the player class