Added comments/docstrings