added def kernel methods