changed process of search