made roc_curve functional