Create method Categorize
Refactoring