words.py cleanup