I don't get the 'deterrent effect' death will have upon those executed. Surely deterrents are used to deter organisms away from unwanted behaviours & in order for this to happen, the organisms must be alive!