check for global