added gravity terms in all kernels