responding to queries across the wire