worked on document generation