added/updated some docstrings