move vars to the module