added support for regions