adding autocomplete implementation