Added enum Flag to TimeToFailure