nit: brace all multi-line pattern arms.