checking to see if global varible will make it to function with out it being a peramitor