added moving average with currently hardcoded window size