chapter 2 - changed from hogan to swig view engine