working on midi-events