insert M to N