finish implementing xfn_add_handler_cb
finish implementing xfn_rm_handler_cb