changed different loop junctions