adding periodic kernels back in