document environment