added typeahead feature. Need to clean up the workflow a bit