autocomplite naive version