making the search cell work