dual layout approach