preprocessing changed up, new dms