adding UI search functionality