added processing ring buffer