minor changes
another ring buffer