reverses sample x.npt