making sure both twitter.py and app.py are similar