additional work on the gui.