trying to get the search to work