polished up sentiment analysis