Second approach – a GUI application