Modified Player class