changed :player-id to :id in player structure