define a layout as a set of pages