added functionality to add team