code for merge