Finishing merge functionality