document the query component