added fig for gui