imporoving documentation generation