create the GUI objects in the right order