allowing 1D kernels