added calculation of total modifiers