refactored cases