Added conditional for +- 50 classes