added emotion detection