adding for smarty