minor changes with gui interface