Handling merge