add endTime property, automatically calculated from StartTime + Duration