Save z in zt for change comparison to work