Added autocomplete search func