Add docstrings for all functions/helper functions.