junction detector