Search functions are refined.