include moving average for statistics