added output by Category