added argument for specifying the kernel varying variable