Added trigger invert