todo: get autocomplete working