added flame.py