use the same ROI logic for both cases