completed phase 2 of the challenge; added lines immediately preceding character's lines