Player class working