change Classifier to abstract class