Updated functions.txt