search function UI done