globals has to exist first