One last nit (hopefully): use `var` instead of `int`.