wrap globals in cells so dict lookup can be elidable