adding player class more classy though