using a layout