for smarty