merged
report + confusion matrix code