made initial start and end time assignment to one line