merge Foundation to Core