Use recommended global checking idiom