modify the search funtion code
modify the search code