Sentence:  He seemed very pleased with himself , as though some intricate scheme was working out <WSD>exactly</WSD> as he had planned . 
Meaning of the word marked with <WSD> tags:  indicating exactness or preciseness