add support for autocomplete