change local to global access