removal of pMoment local variable as it not needed