putting the kernel together