using typeahead package