refactoring enum CAtagory