单项选择题

The idea for the new project came to Jack()to his study recently.

A. while devoting
B. while devoting himself
C. while he was devoted
D. while devoted