deleted functions in utils.py