added idQuery