单项选择题

In this experiment, they were wakened several times during the night and asked to report what they ______.

A. had just been dreaming

B. have just been dreaming
C. are just dreaming

D. had just dreamed