Fix grammar collision

"By doing the following" should be followed by words that also end in "-ing",
not present-tense words.