Preparations for merge