completing nested layouts