Improved the search function but it still does not work.