added docstrings to Util