adding sphinx docstrings