added confusion matrix