Sentence:  In theory , compulsive behavior is a <WSD>way</WSD> of diminishing anxiety , and one might expect a negative association except for the possibility that for many children the obsessive-compulsive defenses are not sufficient to quell the amount of anxiety they suffer . 
Meaning of the word marked with <WSD> tags:  how a result is obtained or an end is achieved