Added method skeleton for sending queries