made minor edits to docstrings