doc dispatch_function_new