simplified w4_twitter codes