two queues for consuming and producing