goal query basic statement and listener.