new file:   BoG.py