added some comments to example