added more comments to example.py