previous junction analysis code was wrong.  so it goes