added smarty