wrap in returnExportsGlobal pattern