kernels now support scalar parameters