time_analysis Almost finished