refactor of moving average data item
Merge remote-tracking branch 'origin/master'