trying to implement typeahead, still more to go