work on player class