finished docstringing