adding analyze.py