*changes for smarty