implemented typeahead and completed search entry points