cleaned up and tested versions of mover and sumMoments