added layouts to template