add function declarations.