incorporated autocomplete for text inputs