checks for sentiment