add emotion analysis code