refactor player class