interstellar 0.2.0

A high-performance graph database with Gremlin-style traversals and GQL query language
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
//! Integration tests for branch and choose-option steps.
//!
//! These tests verify multi-way branching functionality including:
//! - `branch()` with label-based routing
//! - `branch()` with property-based routing
//! - `option_none()` default branch
//! - Filtering when no match and no default
//! - `choose_by()` equivalence to `branch()`
//! - Various key types (string, int, bool)
//! - Path preservation through branch

use std::collections::HashMap;

use interstellar::storage::Graph;
use interstellar::traversal::__;
use interstellar::value::{Value, VertexId};

// =============================================================================
// Test Graph Setup
// =============================================================================

/// Test graph with vertex IDs for use in tests.
#[allow(dead_code)]
struct TestGraph {
    graph: Graph,
    alice: VertexId,
    bob: VertexId,
    charlie: VertexId,
    graphdb: VertexId,
    redis: VertexId,
}

/// Creates a test graph with:
/// - 5 vertices: Alice (person), Bob (person), Charlie (person), GraphDB (software), Redis (software)
/// - Multiple edges for routing tests
///
/// Graph structure:
/// ```text
///     Alice ----knows----> Bob ----knows----> Charlie
///       |                   |                   
///       |                   |                   
///     created             created              
///       |                   |                   
///       v                   v                   
///     GraphDB              Redis               
/// ```
fn create_test_graph() -> TestGraph {
    let graph = Graph::new();

    // Add person vertices
    let alice = graph.add_vertex("person", {
        let mut props = HashMap::new();
        props.insert("name".to_string(), Value::String("Alice".to_string()));
        props.insert("age".to_string(), Value::Int(30));
        props.insert("status".to_string(), Value::String("active".to_string()));
        props.insert("priority".to_string(), Value::Int(1));
        props
    });

    let bob = graph.add_vertex("person", {
        let mut props = HashMap::new();
        props.insert("name".to_string(), Value::String("Bob".to_string()));
        props.insert("age".to_string(), Value::Int(25));
        props.insert("status".to_string(), Value::String("inactive".to_string()));
        props.insert("priority".to_string(), Value::Int(2));
        props
    });

    let charlie = graph.add_vertex("person", {
        let mut props = HashMap::new();
        props.insert("name".to_string(), Value::String("Charlie".to_string()));
        props.insert("age".to_string(), Value::Int(35));
        props.insert("status".to_string(), Value::String("active".to_string()));
        props.insert("priority".to_string(), Value::Int(1));
        props
    });

    // Add software vertices
    let graphdb = graph.add_vertex("software", {
        let mut props = HashMap::new();
        props.insert("name".to_string(), Value::String("GraphDB".to_string()));
        props.insert("version".to_string(), Value::Float(2.0));
        props.insert("priority".to_string(), Value::Int(3));
        props
    });

    let redis = graph.add_vertex("software", {
        let mut props = HashMap::new();
        props.insert("name".to_string(), Value::String("Redis".to_string()));
        props.insert("version".to_string(), Value::Float(7.0));
        props.insert("priority".to_string(), Value::Int(2));
        props
    });

    // Add edges
    // Alice knows Bob
    graph
        .add_edge(alice, bob, "knows", {
            let mut props = HashMap::new();
            props.insert("since".to_string(), Value::Int(2020));
            props
        })
        .unwrap();

    // Bob knows Charlie
    graph
        .add_edge(bob, charlie, "knows", {
            let mut props = HashMap::new();
            props.insert("since".to_string(), Value::Int(2021));
            props
        })
        .unwrap();

    // Alice created GraphDB
    graph
        .add_edge(alice, graphdb, "created", {
            let mut props = HashMap::new();
            props.insert("year".to_string(), Value::Int(2019));
            props
        })
        .unwrap();

    // Bob created Redis
    graph
        .add_edge(bob, redis, "created", {
            let mut props = HashMap::new();
            props.insert("year".to_string(), Value::Int(2020));
            props
        })
        .unwrap();

    TestGraph {
        graph,
        alice,
        bob,
        charlie,
        graphdb,
        redis,
    }
}

// =============================================================================
// Branch with Label-based Routing
// =============================================================================

#[test]
fn test_branch_routes_by_label() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // Route based on vertex label:
    // - person vertices: follow "knows" edges
    // - software vertices: follow incoming "created" edges
    let results = g
        .v()
        .branch(__.label())
        .option("person", __.out_labels(&["knows"]))
        .option("software", __.in_labels(&["created"]))
        .values("name")
        .to_list();

    // Person vertices (Alice, Bob, Charlie) should produce Bob, Charlie (from knows edges)
    // Software vertices (GraphDB, Redis) should produce Alice, Bob (from incoming created edges)
    assert!(results.contains(&Value::String("Bob".to_string())));
    assert!(results.contains(&Value::String("Charlie".to_string())));
    assert!(results.contains(&Value::String("Alice".to_string())));

    // Alice appears from: GraphDB->in(created)->Alice
    // Bob appears from: Alice->out(knows)->Bob and Redis->in(created)->Bob
    // Charlie appears from: Bob->out(knows)->Charlie
    assert_eq!(results.len(), 4); // Bob, Charlie, Alice, Bob
}

#[test]
fn test_branch_with_identity_option() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // Route by label, use identity for persons to keep them
    let results = g
        .v()
        .branch(__.label())
        .option("person", __.identity())
        .option("software", __.identity())
        .values("name")
        .to_list();

    // All vertices should be returned via identity
    assert_eq!(results.len(), 5);
    assert!(results.contains(&Value::String("Alice".to_string())));
    assert!(results.contains(&Value::String("Bob".to_string())));
    assert!(results.contains(&Value::String("Charlie".to_string())));
    assert!(results.contains(&Value::String("GraphDB".to_string())));
    assert!(results.contains(&Value::String("Redis".to_string())));
}

// =============================================================================
// Branch with Property-based Routing
// =============================================================================

#[test]
fn test_branch_with_property_value_key() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // Route by status property
    let results = g
        .v()
        .has_label("person")
        .branch(__.values("status"))
        .option("active", __.out_labels(&["knows"]))
        .option("inactive", __.identity())
        .values("name")
        .to_list();

    // Alice (active) -> out(knows) -> Bob
    // Bob (inactive) -> identity -> Bob
    // Charlie (active) -> out(knows) -> (no outgoing knows edges)
    assert!(results.contains(&Value::String("Bob".to_string())));
    // Bob appears twice: from Alice's knows edge and from Bob's identity
    let bob_count = results
        .iter()
        .filter(|v| **v == Value::String("Bob".to_string()))
        .count();
    assert_eq!(bob_count, 2);
}

// =============================================================================
// Option None (Default Branch)
// =============================================================================

#[test]
fn test_branch_with_none_default() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // Route by label, with default for unknown labels
    let results = g
        .v()
        .branch(__.label())
        .option("person", __.values("name"))
        .option_none(__.constant(Value::String("other".to_string())))
        .to_list();

    // Person vertices get their names
    assert!(results.contains(&Value::String("Alice".to_string())));
    assert!(results.contains(&Value::String("Bob".to_string())));
    assert!(results.contains(&Value::String("Charlie".to_string())));

    // Software vertices (GraphDB, Redis) get "other" via option_none
    let other_count = results
        .iter()
        .filter(|v| **v == Value::String("other".to_string()))
        .count();
    assert_eq!(other_count, 2);
}

#[test]
fn test_branch_none_branch_used_when_no_match() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // Only handle "person", use default for everything else
    let results = g
        .v()
        .branch(__.label())
        .option("person", __.values("age"))
        .option_none(__.values("version"))
        .to_list();

    // Persons get age values: 30, 25, 35
    assert!(results.contains(&Value::Int(30)));
    assert!(results.contains(&Value::Int(25)));
    assert!(results.contains(&Value::Int(35)));

    // Software gets version values: 2.0, 7.0
    assert!(results.contains(&Value::Float(2.0)));
    assert!(results.contains(&Value::Float(7.0)));
}

// =============================================================================
// Filtering Without None Branch
// =============================================================================

#[test]
fn test_branch_filters_unmatched_without_none() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // Only handle "person", no default -> software vertices filtered out
    let count = g
        .v()
        .branch(__.label())
        .option("person", __.identity())
        // No option_none, so non-person vertices are filtered
        .count();

    // Only 3 person vertices should pass through
    assert_eq!(count, 3);
}

#[test]
fn test_branch_filters_when_branch_traversal_empty() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // Use a property that doesn't exist on some vertices
    let results = g
        .v()
        .branch(__.values("status")) // only persons have "status"
        .option("active", __.values("name"))
        .option("inactive", __.values("name"))
        // No option_none -> software vertices (no status) are filtered
        .to_list();

    // Only person vertices have "status", so only they produce results
    assert!(results.contains(&Value::String("Alice".to_string())));
    assert!(results.contains(&Value::String("Bob".to_string())));
    assert!(results.contains(&Value::String("Charlie".to_string())));
    assert_eq!(results.len(), 3);
}

// =============================================================================
// Integer Keys
// =============================================================================

#[test]
fn test_branch_with_integer_key() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // Route by priority property (integer)
    let results = g
        .v()
        .branch(__.values("priority"))
        .option(1i64, __.values("name"))
        .option(2i64, __.constant(Value::String("priority-2".to_string())))
        .option(3i64, __.constant(Value::String("priority-3".to_string())))
        .to_list();

    // Priority 1: Alice, Charlie -> names
    assert!(results.contains(&Value::String("Alice".to_string())));
    assert!(results.contains(&Value::String("Charlie".to_string())));

    // Priority 2: Bob, Redis -> "priority-2"
    let p2_count = results
        .iter()
        .filter(|v| **v == Value::String("priority-2".to_string()))
        .count();
    assert_eq!(p2_count, 2);

    // Priority 3: GraphDB -> "priority-3"
    assert!(results.contains(&Value::String("priority-3".to_string())));
}

#[test]
fn test_branch_with_i32_key() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // i32 keys should work (converted to i64 internally)
    let results = g
        .v()
        .branch(__.values("priority"))
        .option(1i32, __.values("name"))
        .option_none(__.constant(Value::String("other".to_string())))
        .to_list();

    // Priority 1: Alice, Charlie -> names
    assert!(results.contains(&Value::String("Alice".to_string())));
    assert!(results.contains(&Value::String("Charlie".to_string())));

    // Others get "other"
    let other_count = results
        .iter()
        .filter(|v| **v == Value::String("other".to_string()))
        .count();
    assert_eq!(other_count, 3); // Bob, GraphDB, Redis
}

// =============================================================================
// Boolean Keys
// =============================================================================

#[test]
fn test_branch_with_boolean_key() {
    let graph = Graph::new();

    // Create vertices with boolean property
    let _v1 = graph.add_vertex("item", {
        let mut props = HashMap::new();
        props.insert("active".to_string(), Value::Bool(true));
        props.insert("name".to_string(), Value::String("Item1".to_string()));
        props
    });

    let _v2 = graph.add_vertex("item", {
        let mut props = HashMap::new();
        props.insert("active".to_string(), Value::Bool(false));
        props.insert("name".to_string(), Value::String("Item2".to_string()));
        props
    });

    let _v3 = graph.add_vertex("item", {
        let mut props = HashMap::new();
        props.insert("active".to_string(), Value::Bool(true));
        props.insert("name".to_string(), Value::String("Item3".to_string()));
        props
    });

    let snapshot = graph.snapshot();
    let g = snapshot.gremlin();

    let results = g
        .v()
        .branch(__.values("active"))
        .option(true, __.values("name"))
        .option(false, __.constant(Value::String("inactive".to_string())))
        .to_list();

    // Active items: Item1, Item3 -> names
    assert!(results.contains(&Value::String("Item1".to_string())));
    assert!(results.contains(&Value::String("Item3".to_string())));

    // Inactive item: Item2 -> "inactive"
    assert!(results.contains(&Value::String("inactive".to_string())));
    assert_eq!(results.len(), 3);
}

// =============================================================================
// Choose By Equivalence
// =============================================================================

#[test]
fn test_choose_by_equivalent_to_branch() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // Using branch()
    let branch_results = g
        .v()
        .branch(__.label())
        .option("person", __.out())
        .to_list();

    // Using choose_by() - should be identical
    let choose_results = g
        .v()
        .choose_by(__.label())
        .option("person", __.out())
        .to_list();

    assert_eq!(branch_results.len(), choose_results.len());

    // Both should produce the same results (though order may differ)
    for result in &branch_results {
        assert!(choose_results.contains(result));
    }
}

#[test]
fn test_choose_by_with_option_none() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    let results = g
        .v()
        .choose_by(__.values("status"))
        .option("active", __.constant(Value::String("ACTIVE".to_string())))
        .option(
            "inactive",
            __.constant(Value::String("INACTIVE".to_string())),
        )
        .option_none(__.constant(Value::String("NO_STATUS".to_string())))
        .to_list();

    // Active persons: Alice, Charlie
    let active_count = results
        .iter()
        .filter(|v| **v == Value::String("ACTIVE".to_string()))
        .count();
    assert_eq!(active_count, 2);

    // Inactive person: Bob
    assert!(results.contains(&Value::String("INACTIVE".to_string())));

    // Software (no status): GraphDB, Redis
    let no_status_count = results
        .iter()
        .filter(|v| **v == Value::String("NO_STATUS".to_string()))
        .count();
    assert_eq!(no_status_count, 2);
}

// =============================================================================
// Path Preservation
// =============================================================================

#[test]
fn test_branch_preserves_path() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    let results = g
        .v_ids([test.alice])
        .as_("start")
        .branch(__.label())
        .option("person", __.out_labels(&["knows"]).as_("end"))
        .path()
        .to_list();

    // Should have path from Alice through branch to Bob
    assert_eq!(results.len(), 1);

    // Path should contain labeled elements
    if let Value::List(path) = &results[0] {
        assert_eq!(path.len(), 2); // start (Alice) and end (Bob)
    } else {
        panic!("Expected path to be a list");
    }
}

#[test]
fn test_branch_path_with_multiple_inputs() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    let results = g
        .v()
        .has_label("person")
        .as_("person")
        .branch(__.values("status"))
        .option("active", __.out_labels(&["knows"]).as_("friend"))
        .option("inactive", __.identity().as_("self"))
        .path()
        .to_list();

    // Each person that matches should have a path
    // Active persons (Alice, Charlie) follow knows edges
    // Inactive person (Bob) keeps identity
    for result in &results {
        if let Value::List(path) = result {
            assert!(!path.is_empty());
        }
    }
}

// =============================================================================
// Continuation Methods
// =============================================================================

#[test]
fn test_branch_builder_continuation_out() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // Using out() continuation after branch
    let results = g
        .v()
        .has_label("person")
        .branch(__.values("status"))
        .option("active", __.identity())
        .option("inactive", __.identity())
        .out() // continuation method
        .values("name")
        .to_list();

    // All persons pass through identity, then out() finds their neighbors
    assert!(!results.is_empty());
}

#[test]
fn test_branch_builder_continuation_has_label() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // Using has_label() continuation after branch
    let count = g
        .v()
        .branch(__.label())
        .option("person", __.out())
        .option("software", __.in_())
        .has_label("person") // continuation method
        .count();

    // Should filter to only person vertices after branch
    assert!(count > 0);
}

#[test]
fn test_branch_builder_terminal_count() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // Direct terminal method on builder
    let count = g
        .v()
        .branch(__.label())
        .option("person", __.identity())
        .count();

    // Only person vertices pass through
    assert_eq!(count, 3);
}

#[test]
fn test_branch_builder_terminal_next() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // Using next() terminal
    let result = g
        .v()
        .has_label("person")
        .branch(__.label())
        .option("person", __.values("name"))
        .next();

    assert!(result.is_some());
    if let Some(Value::String(name)) = result {
        assert!(name == "Alice" || name == "Bob" || name == "Charlie");
    }
}

#[test]
fn test_branch_builder_terminal_has_next() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // has_next should return true when there are results
    let has_results = g
        .v()
        .has_label("person")
        .branch(__.label())
        .option("person", __.identity())
        .has_next();

    assert!(has_results);

    // has_next should return false when no results
    let no_results = g
        .v()
        .has_label("nonexistent")
        .branch(__.label())
        .option("nonexistent", __.identity())
        .has_next();

    assert!(!no_results);
}

// =============================================================================
// Edge Cases
// =============================================================================

#[test]
fn test_branch_with_empty_input() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // No vertices match, so branch receives empty input
    let results = g
        .v()
        .has_label("nonexistent")
        .branch(__.label())
        .option("nonexistent", __.identity())
        .to_list();

    assert!(results.is_empty());
}

#[test]
fn test_branch_option_produces_multiple_results() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // Option branch that produces multiple results per input
    let results = g
        .v_ids([test.alice])
        .branch(__.label())
        .option("person", __.out()) // Alice has 2 outgoing edges
        .to_list();

    // Alice -> out() -> Bob (knows), GraphDB (created)
    assert_eq!(results.len(), 2);
}

#[test]
fn test_branch_multiple_options_same_key_overwrites() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // Adding same key twice should overwrite
    let results = g
        .v()
        .has_label("person")
        .branch(__.label())
        .option("person", __.constant(Value::String("first".to_string())))
        .option("person", __.constant(Value::String("second".to_string()))) // overwrites
        .to_list();

    // All results should be "second"
    for result in &results {
        assert_eq!(*result, Value::String("second".to_string()));
    }
}

// =============================================================================
// Complex Scenarios
// =============================================================================

#[test]
fn test_branch_chained_with_filter() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    let results = g
        .v()
        .branch(__.label())
        .option("person", __.out_labels(&["knows"]))
        .option("software", __.in_labels(&["created"]))
        .has_label("person") // filter after branch
        .values("name")
        .dedup()
        .to_list();

    // Should only include person vertices after filter
    for result in &results {
        if let Value::String(name) = result {
            assert!(
                name == "Alice" || name == "Bob" || name == "Charlie",
                "Unexpected name: {}",
                name
            );
        }
    }
}

#[test]
fn test_branch_with_transform_in_option() {
    let test = create_test_graph();
    let snapshot = test.graph.snapshot();
    let g = snapshot.gremlin();

    // Use values in branch to transform per-vertex
    let results = g
        .v()
        .has_label("person")
        .branch(__.values("status"))
        .option("active", __.values("age"))
        .option("inactive", __.values("age"))
        .to_list();

    // Each person should produce their age
    // Alice (active): 30
    // Bob (inactive): 25
    // Charlie (active): 35
    assert_eq!(results.len(), 3);
    assert!(results.contains(&Value::Int(30)));
    assert!(results.contains(&Value::Int(25)));
    assert!(results.contains(&Value::Int(35)));
}