Initial commit for util.py