putting the layout together