set x and e is now set by bootstrap
allow some caching of state to speed up external operations