made capture variable global in tweetColor