parse regions