trying to get the autocomplete to work, but I'm too dumb