adding the first part of the document