Added functions.c