better processing of categories and actions.