add support for classification with scores