global state is dumb.