debugging app.py file