Added autocomplete mode