Tidying up Midi addition