edited app.py a bit