move validation to classifier, still a bit more to do