writing to the document

writing the information to the document