Started writing docstrings