beating keywords.py into shape