local changes to wordpairs.py