Made Runnable with GUI