check that regions is not empty