added comments to this example