simple ringbuffer for strings