Added query batch