begin with document creation