inject query