docstrings updated