validate.py added