This is the function of ca_search_box