continue working on  autocomplete code