stab at BTE.py