small changes in the search