How is the underlined gerund phrase used in the sentence?


After reading the whole novel, Amy still couldn't remember the main character's name.