variable to global