alterations for new category code