added autodoc documentation