changed the gui interface