added createKernel and example template