added region div in function