with typeahead for categories