add function declarations