use changed-state