Created replaceM, finalized move.