added presence validations to categorization