adding the "sequencer" event, and modifying the code