merge core