adding bulk search functionality