midi reorganization