Added functionalities to Team class