Example 2 complete