first pass of parse query done