add category numbers