modifications to Utilities.py