Added useful_functions.py