setting values for ‘startTime’ and ‘cancelled’