Configured the layout