added CategoriesIndex data structure