Example 13a.
modified version of Example 9