Sentence:  Sometimes he woke up in the middle of the night <WSD>thinking</WSD> of Ann , and then could not get back to sleep . 
Meaning of the word marked with <WSD> tags:  keep in mind for attention or consideration