skeleton structure of check.py