this is the working check.py