modified:   beta.py