change kernel into core