modify functions.c