add functions to register builtin functions