In which I attempt to write a kernel