addNodes moved to outside of getRegion