setup the layout.