extra functionality for sentiment analysis: final commit