added typeahead search functionality