integrated the GUI