autocomplete with resolutions works