add enter region logic