added the trigger turn on curve