calling to retrieveTeam()