Example 14a. modified version of Example 2