started working on cyclic buffer
read-write queues