my further improvement on a couple other kernels