Another candidate for switch-case.