add function.c