Added a new categorization method