Added a function to get a list of teams