Example 3 added comments