revaming app.py isn't fun