working on the autocomplete feature