merge core library