initial switch to -ex