implement new autocomplete feature