My teams function added