improved tasksPerTeam