finished docstrings for pydoc