add ring buffer