Reduced the length of the flushPeriod example to get rid of the horizontal scrolling