Merging loop almost ready. Missing to double check merging rules