added Smarty templates