Scientists uncover secret to boiling the perfect egg