complete the GUI