more manipulation of moment calculations