changed variable name in Player instance to playerName