Renamed GUI to ui for more conventional naming