made ring_buffer an application