Accounting for move of getTeam function