makeKernel works