add tweet function and initial binding