working on making regions work