Custom Kernel for Spyder