Working on ROC code