Corrected player class