updated some docstrings