Changed Trainer check to use groups