changed to use hogan.js