removed comments and documentation in functions.c