fix indenting.
fix indent
make sure that that the region doesn't get overwritten.