@orangy beat me to it 😄 yeah I guess mine is the more conservative way. I'm not sure which version I'd go with now, yours is more concise, but I think mine would probably be easier to grasp at glance (can easily see that there are exactly two different code paths, and you can see what both paths do easily)