changes in vectors and ring_buffers