new code for evaluating with ROIs