Working on the document and plots