changed twitter code