copy form demo.py