Ed switched on the garbage disposal to grind up food. (Why)
The water was on the kitchen carpet. (Where)
Ed had a dill pickle. (What kind of)
He opened the cabinet door. (What)
Ed went to the closet. (Where)
Ed went to the closet to get a flashlight. (Why)
Ed shined the light into the cabinet. (Where)
Ed turned on the switch. (What)
Ed had to run some errands. (What)
Ed put some tape over the switch. (What)