Make ring buffer public