I know I'm a little late posting, but I figured you've already gotten your answer.

I put the eggs in cold water in a pan and put it on a medium heat. Once the water starts to boil, I allow 5 minutes then I take them and run them under cold water, to prevent them from still cooking.

STRONG WORD OF ADVICE:

Do NOT fall asleep while boiling eggs. 1. They explode. 2. They a 6itch to clean off the ceiling and walls.

Trust me, I speak from experience!