单项选择题

I (was just) falling (sleep) last night (when) I heard a knock (at) the door.

A.was just
B.sleep
C.when
D.at