Since this switch only has 2 branches and they don't fall through, consider switching it to an if/else