refinement of document