Remove end_time from input from, replace with time_length.