Update discrete_app2.py