adding of categories works