put ringbuffer in namespace, too