add typeahead feature