adding some docstrings