Example with GUI