modified:   Circuit.java