added Smarty