单项选择题

I ______ writing the paper as scheduled, but my mother's illness interfered. I hope you will excuse me.

A. am to have finished
B. was to have finished
C. was to finish
D. ought to finish