stats refactoring via change to SimpleMovingAverage