单项选择题

This machine ()out of order very often, but now it works well.

A.is used to be
B.was used to be
C.used to be
D.was used to