working build, problem with the Player class