Select the sentence in which the modifier is used correctly.
A.
Bubble gum was invented in 1928 by a man named Walter Diener by accident.
B.
Bubble gum was invented by accident in 1928 by a man named Walter Diener.
O c. Bubble gum was invented by accident by a man in 1928 named Walter Diener.