started refactoring autocomplete field to take an array of values