modified:   scoring.py