pass1.py -- minor updates