Refactor get_timing_info into get_start_time and get_end_time. Removed unnecessary enumerate. Improved whitespace usage.