gui added to agent