merging c