changed method signature to include team name