Sentence:  He seemed very pleased with himself , as though some intricate <WSD>scheme</WSD> was working out exactly as he had planned . 
Meaning of the word marked with <WSD> tags:  an elaborate and systematic plan of action