added tentative write to mtz code