forgot to change the templates to Smarty ref #8