Corrected Player class