don't change state until after ec is checked.