adding util namespace, adding docstrings