Good idea to change from anonymous to named functions -- it will be much more intuitive this way.