=simplified and added comments to utils.py
=comments