solved the adding teams problem