start the code to send queries to the resolver