almost done rewrite, classifier left