k6c function

basic kernels