adding globalCheck