trying to make the search part work