partially implementing the getTweets method