adding docstrings for pydoc