First step in merging