Sentence:  But in bed he had <WSD>trouble</WSD> sleeping . 
Meaning of the word marked with <WSD> tags:  an event causing distress or pain