问题

The idea for the new machine came to Mr. Baker ______ to his invention recently.
A:while devoting
B:while devoted
C:while he was devoted
D:while devoting himself
B:while devoted
C:while he was devoted
D:while devoting himself
正确答案是: