using latest typeahead package