Finished createteam functions