improvements in training, using constraints