store the previous value.