Add two functions for working with regions