Added function interface to header file