add search functionality v2