modifed model/team.rb