set up a layout