It's clearer if you don't share `var` here (aka have each line have its own var).