completes merge