It was the same thing you were doing but with more water. Generally, when thickening with corn flour/corn starch, you mix water and the flour to make a slurry, a watery suspension of flour in water. Then you stir up the mixture and pour into the pot to thicken.
"If you want to make an apple pie from scratch, you must first create the universe." -Carl Sagan