Extract the kernel