new ROIs and some refactoring as well as SCA with multiple ROIs