manual merging