Random state

Fix and use a random initial state for the producer.