added maxMirror