added comments to expectEx.py