BT Šab 120b(47) :עשייה הוא דאסיר הא גרמא שרי : it is a direct act that is prohibited while here an indirect effect is allowed See the entire entry for grām, grāmā v.n. indirect effect