made a makeClassifier funciton