testing common ROIs definition
save the previous changes
functions for ROIs defintion