add kernel to mako