set sphere as global