initial attempt to merge all kernels