"added max length function to remove old tweets"