completing the layout