add gui and popup