modified docstrings according to new code