EXERCISE S3–9Dangling modifiers
Example:

Before delivering the commencement speech, my heart was pounding and my palms were sweating.

Before I delivered the commencement speech, my heart was pounding and my palms were sweating.

In the second sentence, the person delivering the speech (I) is named in the opening phrase, so the opening phrase doesn’t dangle.