Example 2 improved