changes on Badger.py