cosmetic  changes to the ring buffer