Additional documentation of query process