using generated EWMA