adding query_nodes.C