almost finish the layout