working on the GUI