Complex sentence: When Dr. Gregg had improvised his invention, he imagined himself as a consumer.
Split into simpler sentences: When Dr. Gregg had improvised his invention. He imagined himself as a consumer.