init the kernel