add commits
Revert "Add global variable checks"

This reverts commit 32829e97d97da3eb8777f5702ea9a6c811cce203.