beginning of autocomplete