actually use the layout to render