concurrent producer and customer. need fix