Added function headers in functions.cpp