moved stuff to player class because its more player specific