tried to implement team dupe checking, added count to team.js