Add comments in check.py