updated for converting normal input box into autosuggest