moving the module to the outside of the global lets for now
eliminate dead code.