By the time I got to the office, he _____ for an hour. A. had waited B. waited C. will wait D. is waiting