removed old code form app.py