Why do you have to loop through all the teams?  What is a team?