plooted ROC curve
refactored code