changes to tweet code