switching modifiers to lookup tables