Example 2 completed