added create tweet function