added tweet_history and time_of_last_tweet variables