Addes query interface