touched up roc curve function