adding player class