redid the app.py