Refactoring: using case instead of awkward _1, _2, ...