- modified document generation to include less comments