implement main feature of Autocomplete