finishing the layout