implemented democratic tweet function