beginings of the kernel