progress update 001

added a for loop and some functions for teams.