answer query requests