update to remove dependency on global module