added kernel function