Add docstrings to commonly used functions
Add docstrings to commonly used functions