Merge funcionalty