adding typeahead matching feature