updated combining modifiers function