moving up ring buffer construction for inject later