Work on ROI input