fixed bug in region instantiation, updated documentation and testing