Add example to output the third function (modified)