got some parts of autocomplete to work