adding GUI stuff