added some features from violations