Changing the Player class