done with global and security