modified:   vq.py