Tiny style nit: `s/if (/if(` (it might be worth hooking up a linter to this repo!)