first version with GUI