added judgement.py: