When having worked all day,he went to bed.这个句子对吗