at least for my edification, what is the value of wrapping this code in an anonymous function and then calling it?