more modifications to tweet code.