generating documentation for new functions