define two regions for task and editor