My custom kernel for the d2 varients