pass each query through parser