what is the principle of double effect?
it is one thing to intend and do something bad as a means to an end, and it is another to do something morally permissible for the purpose of achieving some good while knowing that it also may have a bad secondary effect.