reorganize the GUI code