added analysis.py