added classifier pruning