made vars global