moving where we change global bool