added autocomplete feature