Example 3 complete