added captain handling via player_id