added react for the search