added category hierarchy