using RingBuffer instead if RingBufferUint8