Finished definitions in utils.py