Sentence:  They were n't sleeping , <WSD>of</WSD> course , but they thought they were doing him a favor by pretending . 
Meaning of the word marked with <WSD> tags:  as might be expected