teams function

Access all the teams