global merge