main_analysis takes two lists