Revert "Revert "Revert "set up check"""

This reverts commit fee61c6c6312695ed7500ce0713e7d9ee5b14bbc.