autocomplete foundations