add hierarchical categories