start of player class