created template with regions
add regions and toggle logic to view