mds with pivots