Sentence:  Religion usually also includes a principle of compensation , <WSD>mainly</WSD> in a promised perfect future state . 
Meaning of the word marked with <WSD> tags:  for the most part