Rewrite getTeamForPlayer