I wanted to avoid losing the compile error if an enum case was overlooked, but maybe it's worth adding anyway