working on the gui