add crb_search_function in util.c