They filled a sterile flask with water, to simulate the oceans, and boiled it. To the water vapor, they added methane, ammonia, and hydrogen, to simulate what they thought had been the composition of Earth's early atmosphere. They passed gases through electrodes, to simulate lightning. Next, they passed the gases through a condensation chamber, where cold water cooled them, causing drops to form.