refactoring with GUI class