we had been listening to the radio when the lights went out.
a. past progressive
b. present progressive
c. past perfect progressive
d. present perfect progressive