Modified ex33.py