added redirecting for globals