added mxDepth and forward looking SW