adding GUI main