added smarty3