how to call a runtime-created function from another runtime-created function