add end time field