beginnings of autocomplete