adding categories to schema