added comments to example