using queryMap