added function get_team_in_categories