Adding the junctions