Associating Actions with Branches (DPL Code)