trigger turn on code