Added analysis.py