working typeahead implementation finally

'