Before starting with GUI