add draft of producer-consumer structure