task to queryhit