new kernel and other things, like new argument as the number of threads