integrate typeahead