corrected kernel formula