It basically does `that=this` outside and `@=that` inside the closure for you. So assuming there really was a scoping issue here, to solve it instead of the two changes you made, just change `->` to `=>`