adding an example with a GUI