replaced @ with $ in player_name variable