egg is added to a pan