refactoring
switch block should be enum order