with data processing code for emotion sequences