sentiment analysis and refactor create methods