change init to createProducer