updated formatting in utils.py