Changed teams to the query_constructor()