improved the merge method
1 file changed