first run to show the layout