commented old autocomplete method