added utilFunctions.py