Added small function docstrings