writing a kernel woo