added massAction for teams