example of controlling the layout