finished filling in the layout