Why all the anonymous blocks?

And dead assignments...