autocomplete for type and location