added query to gui, and intake form filled out