added analyze.py