add code of categories