Ah... gas... electric... ah... boiling for five minutes does not hard-boil. Hmmmm. I am just taking a shot in the dark here, but, ah, perhaps boiling your eggs longer would yield hard-boiled eggs? Gas or electric.