modified the gui