Revised list_analysis.py