Modified maxMirror.java