started implementation of adding junctions