documented the Player class