the second example of template2