finished docstrings