modified:   kkb.py