adding functions to tweetful project