added Midi methods