Skip to main content

polydat_core/
dataset_value.rs

1// Copyright 2024-2026 Jonathan Shook
2// SPDX-License-Identifier: Apache-2.0
3
4//! The values of the dataset port types (`forms`, `fragment`,
5//! `admitted_rows`): what a vector dataset publishes about its
6//! predicates and records, on a wire as the types `vectordata` defines.
7//!
8//! A host reads one by matching [`DatasetValue`], with no downcast and
9//! no inspection of a payload: the port type in a program's manifest
10//! says which kind a wire carries, and the variant holds vectordata's
11//! own type. Polydat adds only the two pairings vectordata has no type
12//! for: a facet's forms with the layout and the records they describe
13//! (`PredicateForms`, `RecordForms`), and one record's place among
14//! them for a cycle (`PredicateFragment`, `RecordFragment`).
15//!
16//! The variants exist when the `vectordata` feature is on. Without it
17//! the port types are still names of the language, and no value of
18//! them can be made, so [`DatasetValue`] has no variant and
19//! `Value::Dataset` is never constructed.
20//!
21//! Nothing here checks a record. That a dataset's records meet what it
22//! declares is established where the dataset is published; these
23//! values hand on what vectordata reads.
24
25#[cfg(feature = "vectordata")]
26use std::sync::Arc;
27
28use crate::ast::PortType;
29
30#[cfg(feature = "vectordata")]
31pub use self::types::{PredicateForms, PredicateFragment, RecordForms, RecordFragment};
32#[cfg(feature = "vectordata")]
33pub use self::wires::Shared;
34
35/// A value of one of the dataset port types.
36#[derive(Debug, Clone)]
37pub enum DatasetValue {
38    /// The base positions a query's predicate admits: vectordata's
39    /// set over the query's `metadata_results` record, which is not
40    /// read until it is asked. Port type `admitted_rows`.
41    #[cfg(feature = "vectordata")]
42    AdmittedRows(Arc<vectordata::ground_truth::OrdinalSet>),
43    /// The forms of a predicate facet. Port type `forms`.
44    #[cfg(feature = "vectordata")]
45    PredicateForms(Arc<PredicateForms>),
46    /// The one form of a record facet: its layout. Port type `forms`.
47    #[cfg(feature = "vectordata")]
48    RecordForms(Arc<RecordForms>),
49    /// One predicate, as its form and its record. Port type `fragment`.
50    #[cfg(feature = "vectordata")]
51    Predicate(PredicateFragment),
52    /// One metadata record. Port type `fragment`.
53    #[cfg(feature = "vectordata")]
54    Record(RecordFragment),
55}
56
57impl DatasetValue {
58    /// The port type of the wire this value rides.
59    pub fn port_type(&self) -> PortType {
60        match self {
61            #[cfg(feature = "vectordata")]
62            DatasetValue::AdmittedRows(_) => PortType::AdmittedRows,
63            #[cfg(feature = "vectordata")]
64            DatasetValue::PredicateForms(_) | DatasetValue::RecordForms(_) => PortType::Forms,
65            #[cfg(feature = "vectordata")]
66            DatasetValue::Predicate(_) | DatasetValue::Record(_) => PortType::Fragment,
67            #[cfg(not(feature = "vectordata"))]
68            _ => match *self {},
69        }
70    }
71
72    /// A short rendering for diagnostics and dry runs: what the value
73    /// is and where it comes from, never the records themselves. A set
74    /// of admitted rows shows its first positions and its size.
75    pub fn display(&self) -> String {
76        match self {
77            #[cfg(feature = "vectordata")]
78            DatasetValue::AdmittedRows(set) => format!("{set:?}"),
79            #[cfg(feature = "vectordata")]
80            DatasetValue::PredicateForms(forms) => format!(
81                "forms of {}: {} over {} predicates",
82                forms.origin,
83                forms.census.forms().len(),
84                forms.census.count()
85            ),
86            #[cfg(feature = "vectordata")]
87            DatasetValue::RecordForms(forms) => format!(
88                "forms of {}: 1 over {} fields",
89                forms.origin,
90                forms.layout.names().len()
91            ),
92            #[cfg(feature = "vectordata")]
93            DatasetValue::Predicate(fragment) => format!(
94                "predicate {} of {}, form {}",
95                fragment.ordinal, fragment.forms.origin, fragment.form
96            ),
97            #[cfg(feature = "vectordata")]
98            DatasetValue::Record(fragment) => {
99                format!("record {} of {}", fragment.ordinal, fragment.forms.origin)
100            }
101            #[cfg(not(feature = "vectordata"))]
102            _ => match *self {},
103        }
104    }
105}
106
107/// Two dataset values are equal when they are the same thing: the same
108/// admitted positions, the same forms, or the same record of the same
109/// forms. Forms compare by identity, since they are built once and
110/// shared.
111impl PartialEq for DatasetValue {
112    fn eq(&self, other: &Self) -> bool {
113        match (self, other) {
114            #[cfg(feature = "vectordata")]
115            (DatasetValue::AdmittedRows(a), DatasetValue::AdmittedRows(b)) => {
116                Arc::ptr_eq(a, b) || a == b
117            }
118            #[cfg(feature = "vectordata")]
119            (DatasetValue::PredicateForms(a), DatasetValue::PredicateForms(b)) => Arc::ptr_eq(a, b),
120            #[cfg(feature = "vectordata")]
121            (DatasetValue::RecordForms(a), DatasetValue::RecordForms(b)) => Arc::ptr_eq(a, b),
122            #[cfg(feature = "vectordata")]
123            (DatasetValue::Predicate(a), DatasetValue::Predicate(b)) => {
124                Arc::ptr_eq(&a.forms, &b.forms) && a.form == b.form && a.ordinal == b.ordinal
125            }
126            #[cfg(feature = "vectordata")]
127            (DatasetValue::Record(a), DatasetValue::Record(b)) => {
128                Arc::ptr_eq(&a.forms, &b.forms) && a.ordinal == b.ordinal
129            }
130            #[cfg(feature = "vectordata")]
131            _ => false,
132            #[cfg(not(feature = "vectordata"))]
133            _ => match *self {},
134        }
135    }
136}
137
138#[cfg(feature = "vectordata")]
139mod types {
140    use std::sync::Arc;
141
142    use vectordata::binding::{Binder, Layout};
143    use vectordata::predicate_forms::FormCensus;
144    use vectordata::records::RecordFacet;
145
146    /// The forms of a predicate facet, with what a host needs to bind
147    /// a predicate of any of them: a `forms` value.
148    ///
149    /// Built once, when a program is built, by reading every predicate
150    /// of the facet. A host prepares one statement per form of
151    /// [`census`](Self::census) from the form's template, compiles the
152    /// form's binder against [`layout`](Self::layout)
153    /// (`form.binder(&forms.layout)`), and keeps both by the form's
154    /// index. A form whose binder cannot be compiled is that call's
155    /// error, with `form.count()` predicates behind it; nothing here
156    /// refuses it. The strata the facet publishes are
157    /// `census.strata()`.
158    #[non_exhaustive]
159    pub struct PredicateForms {
160        /// Every distinct form of the facet's predicates, with its
161        /// template and count, and the form of the predicate at each
162        /// ordinal.
163        pub census: FormCensus,
164        /// The layout of the metadata records the predicates select
165        /// among, which types each condition's field.
166        pub layout: Layout,
167        /// The predicates themselves: the record of the predicate at
168        /// an ordinal is what a form's binder binds.
169        pub predicates: RecordFacet,
170        /// The dataset and profile, for diagnostics.
171        pub origin: String,
172        /// The first form with no key, as its rendered form and the
173        /// reason vectordata gives, or `None` when every form has one.
174        unkeyed: Option<(String, String)>,
175    }
176
177    impl PredicateForms {
178        pub(crate) fn new(
179            census: FormCensus,
180            layout: Layout,
181            predicates: RecordFacet,
182            origin: String,
183        ) -> Self {
184            let unkeyed = first_unkeyed(&census);
185            Self {
186                census,
187                layout,
188                predicates,
189                origin,
190                unkeyed,
191            }
192        }
193
194        /// The key of the form the predicate at `ordinal` takes: the
195        /// identifier the dataset publishes for the form, stable across
196        /// releases and usable as a metric label, such as
197        /// `citation_percentile.range_topic_l3.eq`.
198        ///
199        /// `Err` with the reason when any form of the facet has no key
200        /// (it holds a disjunction, or addresses a field by index),
201        /// whichever form `ordinal` takes, so a facet either labels
202        /// every predicate or none. `Err` also for an ordinal the facet
203        /// does not hold.
204        pub fn form_key_at(&self, ordinal: u64) -> Result<&str, String> {
205            form_key_at(&self.census, self.unkeyed.as_ref(), &self.origin, ordinal)
206        }
207
208        /// The distinct keys of the facet's forms, sorted: every value
209        /// [`Self::form_key_at`] can give. `Err` with the reason when
210        /// any form has no key, as `form_key_at` is.
211        pub fn form_keys(&self) -> Result<Vec<&str>, String> {
212            form_keys(&self.census, self.unkeyed.as_ref(), &self.origin)
213        }
214    }
215
216    /// The first form of `census` with no key, as its rendered form and
217    /// the reason vectordata gives.
218    fn first_unkeyed(census: &FormCensus) -> Option<(String, String)> {
219        census.forms().iter().find_map(|form| {
220            form.unkeyed()
221                .map(|reason| (form.form().to_string(), reason.to_string()))
222        })
223    }
224
225    /// The refusal for a facet that holds the unkeyed form `unkeyed`.
226    fn keyed(unkeyed: Option<&(String, String)>, origin: &str) -> Result<(), String> {
227        match unkeyed {
228            Some((form, reason)) => Err(format!(
229                "the predicates of '{origin}' hold a form with no key, `{form}`: {reason}"
230            )),
231            None => Ok(()),
232        }
233    }
234
235    /// [`PredicateForms::form_keys`], over its parts.
236    fn form_keys<'a>(
237        census: &'a FormCensus,
238        unkeyed: Option<&(String, String)>,
239        origin: &str,
240    ) -> Result<Vec<&'a str>, String> {
241        keyed(unkeyed, origin)?;
242        let keys: std::collections::BTreeSet<&str> = census
243            .forms()
244            .iter()
245            .filter_map(|form| form.key())
246            .collect();
247        Ok(keys.into_iter().collect())
248    }
249
250    /// [`PredicateForms::form_key_at`], over its parts.
251    fn form_key_at<'a>(
252        census: &'a FormCensus,
253        unkeyed: Option<&(String, String)>,
254        origin: &str,
255        ordinal: u64,
256    ) -> Result<&'a str, String> {
257        keyed(unkeyed, origin)?;
258        census
259            .form_at(ordinal)
260            .and_then(|form| census.forms()[form].key())
261            .ok_or_else(|| format!("'{origin}' has no predicate {ordinal}"))
262    }
263
264    #[cfg(test)]
265    mod form_key_tests {
266        use super::{first_unkeyed, form_key_at, form_keys};
267        use vectordata::formats::pnode::{
268            Comparand, ConjugateNode, ConjugateType, FieldRef, OpType, PNode, PredicateNode,
269        };
270        use vectordata::predicate_forms::FormCensus;
271
272        fn leaf(field: &str, op: OpType) -> PNode {
273            PNode::Predicate(PredicateNode {
274                field: FieldRef::Named(field.into()),
275                op,
276                comparands: vec![Comparand::Int(1)],
277            })
278        }
279
280        fn junction(conjugate_type: ConjugateType, children: Vec<PNode>) -> PNode {
281            PNode::Conjugate(ConjugateNode {
282                conjugate_type,
283                children,
284            })
285        }
286
287        /// Every predicate of a facet whose forms all have keys is
288        /// labelled with its own form's key, and an ordinal past the
289        /// facet's predicates has none.
290        #[test]
291        fn a_keyed_facet_gives_each_predicate_its_forms_key() {
292            let mut census = FormCensus::new();
293            let both = junction(
294                ConjugateType::And,
295                vec![leaf("topic", OpType::Eq), leaf("rank", OpType::Ge)],
296            );
297            census.record(&leaf("topic", OpType::Eq), None, None);
298            census.record(&both, None, None);
299            census.record(&leaf("topic", OpType::Eq), None, None);
300            let unkeyed = first_unkeyed(&census);
301            assert_eq!(unkeyed, None);
302            let key = |ordinal| form_key_at(&census, unkeyed.as_ref(), "ds:p", ordinal);
303            assert_eq!(key(0), Ok("topic.eq"));
304            assert_eq!(key(1), Ok("rank.range_topic.eq"));
305            assert_eq!(key(2), Ok("topic.eq"));
306            assert_eq!(key(3), Err("'ds:p' has no predicate 3".to_string()));
307            assert_eq!(
308                form_keys(&census, unkeyed.as_ref(), "ds:p"),
309                Ok(vec!["rank.range_topic.eq", "topic.eq"])
310            );
311        }
312
313        /// One form with no key refuses the key of every predicate of
314        /// the facet, keyed ones included, naming the form and why.
315        #[test]
316        fn a_facet_holding_an_unkeyed_form_gives_no_keys() {
317            let mut census = FormCensus::new();
318            let either = junction(
319                ConjugateType::Or,
320                vec![leaf("a", OpType::Eq), leaf("b", OpType::Eq)],
321            );
322            census.record(&leaf("topic", OpType::Eq), None, None);
323            census.record(&either, None, None);
324            let unkeyed = first_unkeyed(&census);
325            let refusals = (0..2)
326                .map(|ordinal| {
327                    form_key_at(&census, unkeyed.as_ref(), "ds:p", ordinal)
328                        .expect_err("a facet with an unkeyed form has no keys")
329                })
330                .chain([form_keys(&census, unkeyed.as_ref(), "ds:p")
331                    .expect_err("a facet with an unkeyed form lists no keys")]);
332            for err in refusals {
333                assert!(
334                    err.starts_with(
335                        "the predicates of 'ds:p' hold a form with no key, `(a = ? OR b = ?)`: "
336                    ) && err.contains("disjunction"),
337                    "{err}"
338                );
339            }
340        }
341    }
342
343    impl std::fmt::Debug for PredicateForms {
344        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
345            f.debug_struct("PredicateForms")
346                .field("origin", &self.origin)
347                .field("forms", &self.census.forms().len())
348                .field("predicates", &self.census.count())
349                .finish()
350        }
351    }
352
353    /// The one form of a metadata record facet: its layout, with the
354    /// binder that reads every field of a record in layout order. A
355    /// `forms` value.
356    #[non_exhaustive]
357    pub struct RecordForms {
358        /// The names and types of a record's fields, in wire order.
359        pub layout: Layout,
360        /// Reads every field of a record, in layout order.
361        pub binder: Binder,
362        /// The records.
363        pub records: RecordFacet,
364        /// The dataset and profile, for diagnostics.
365        pub origin: String,
366    }
367
368    impl RecordForms {
369        pub(crate) fn new(layout: Layout, records: RecordFacet, origin: String) -> Self {
370            Self {
371                binder: Binder::all(&layout),
372                layout,
373                records,
374                origin,
375            }
376        }
377    }
378
379    impl std::fmt::Debug for RecordForms {
380        fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
381            f.debug_struct("RecordForms")
382                .field("origin", &self.origin)
383                .field("fields", &self.layout.names())
384                .finish()
385        }
386    }
387
388    /// One predicate for a cycle, as structure: a `fragment` value.
389    ///
390    /// It names the predicate and does not hold its bytes, so making
391    /// one allocates nothing and reads no record. A host selects what
392    /// it prepared for [`form`](Self::form), reads the record
393    /// (`forms.predicates.record_shared(ordinal)` or `record_bytes`),
394    /// and binds it through that form's binder.
395    #[derive(Debug, Clone)]
396    #[non_exhaustive]
397    pub struct PredicateFragment {
398        /// The forms this predicate is one of.
399        pub forms: Arc<PredicateForms>,
400        /// The index of this predicate's form in `forms.census.forms()`.
401        pub form: u32,
402        /// The predicate's ordinal in the facet: a query ordinal.
403        pub ordinal: u64,
404    }
405
406    impl PredicateFragment {
407        pub(crate) fn new(forms: Arc<PredicateForms>, form: u32, ordinal: u64) -> Self {
408            Self {
409                forms,
410                form,
411                ordinal,
412            }
413        }
414    }
415
416    /// One metadata record for a cycle, as structure: a `fragment`
417    /// value. Like [`PredicateFragment`], it names the record and does
418    /// not hold its bytes; a host reads the record
419    /// (`forms.records.record_shared(ordinal)` or `record_bytes`) and
420    /// binds it through `forms.binder`.
421    #[derive(Debug, Clone)]
422    #[non_exhaustive]
423    pub struct RecordFragment {
424        /// The record facet's one form.
425        pub forms: Arc<RecordForms>,
426        /// The record's ordinal in the facet: a base ordinal.
427        pub ordinal: u64,
428    }
429
430    impl RecordFragment {
431        pub(crate) fn new(forms: Arc<RecordForms>, ordinal: u64) -> Self {
432            Self { forms, ordinal }
433        }
434    }
435}
436
437/// The `vectordata` types a host works with when it binds a fragment
438/// or reads forms, re-exported at vectordata's own paths so a host
439/// that reaches datasets only through polydat can name them. These are
440/// vectordata's types, not copies: a breaking release of vectordata
441/// that changes one is a breaking change here.
442///
443/// The node enums (`formats::mnode::MValue`, `formats::pnode::OpType`,
444/// `formats::pnode::Comparand`) are
445/// exhaustive on purpose, so a host's `match` over one stops compiling
446/// when vectordata adds a kind, rather than binding the new kind as
447/// something else.
448#[cfg(feature = "vectordata")]
449pub mod vectordata {
450    /// The record codec stage: a record as a typed node.
451    pub mod formats {
452        /// Any record, decoded.
453        pub mod anode {
454            pub use ::vectordata::formats::anode::{ANode, decode, encode};
455        }
456        /// A metadata record, and one field of it read in place.
457        pub mod mnode {
458            pub use ::vectordata::formats::mnode::{MNode, MValue, TypeTag};
459            /// A field of a record, read without decoding the record.
460            pub mod scan {
461                pub use ::vectordata::formats::mnode::scan::Field;
462            }
463        }
464        /// A predicate record, and a predicate with its comparands
465        /// left open.
466        pub mod pnode {
467            pub use ::vectordata::formats::pnode::{
468                Comparand, ConjugateNode, ConjugateType, FieldRef, OpType, PNode, PredicateNode,
469            };
470            /// A predicate's structure with its comparands as slots:
471            /// what a host renders once per form.
472            pub mod template {
473                pub use ::vectordata::formats::pnode::template::{
474                    PredicateTemplate, parse_template,
475                };
476            }
477        }
478    }
479    /// Layouts and the binders that read a record's values.
480    pub mod binding {
481        pub use ::vectordata::binding::{
482            BindError, BindType, Binder, Condition, Layout, LayoutSource, Nullability,
483            PredicateBinder,
484        };
485    }
486    /// The forms of a predicate facet.
487    pub mod predicate_forms {
488        pub use ::vectordata::predicate_forms::{
489            Access, FormCensus, PredicateForm, PredicateStrata,
490        };
491    }
492    /// Record facets, their bytes, and the packaged text renderings.
493    pub mod records {
494        pub use ::vectordata::records::{
495            RecordCodec, RecordError, RecordFacet, SharedBytes, codec_by_name, codec_names,
496        };
497    }
498    /// The rows a predicate admits.
499    pub mod ground_truth {
500        pub use ::vectordata::ground_truth::OrdinalSet;
501    }
502}
503
504#[cfg(feature = "vectordata")]
505mod wires {
506    use std::sync::Arc;
507
508    use vectordata::ground_truth::OrdinalSet;
509
510    use super::{DatasetValue, PredicateForms, PredicateFragment, RecordForms, RecordFragment};
511    use crate::ast::{PortType, Value};
512    use crate::derive_support::{Wire, extract_mismatch};
513
514    /// A shared dataset value as a node's argument or result: the
515    /// rows a predicate admits (`Shared<OrdinalSet>`, an
516    /// `admitted_rows` wire) or the forms of a facet
517    /// (`Shared<PredicateForms>`, `Shared<RecordForms>`, a `forms`
518    /// wire). It derefs to the value. A node function names this
519    /// rather than the `Arc` inside it, because a bare `Arc<T>`
520    /// argument is an untyped `handle` wire to the node macro.
521    #[derive(Debug)]
522    pub struct Shared<T>(pub Arc<T>);
523
524    impl<T> Clone for Shared<T> {
525        fn clone(&self) -> Self {
526            Shared(self.0.clone())
527        }
528    }
529
530    impl<T> std::ops::Deref for Shared<T> {
531        type Target = T;
532        fn deref(&self) -> &T {
533            &self.0
534        }
535    }
536
537    /// A value of the right port type and the wrong kind: the forms of
538    /// a record facet where a predicate facet's were wanted. The port
539    /// type cannot tell the two apart, so this is a program's error and
540    /// is said in its terms.
541    fn wrong_kind(wanted: &str, got: &DatasetValue) -> ! {
542        let got = match got {
543            DatasetValue::AdmittedRows(_) => "the rows a predicate admits",
544            DatasetValue::PredicateForms(_) => "the forms of a predicate facet",
545            DatasetValue::RecordForms(_) => "the forms of a record facet",
546            DatasetValue::Predicate(_) => "a predicate fragment",
547            DatasetValue::Record(_) => "a record fragment",
548        };
549        panic!("expected {wanted}, got {got}")
550    }
551
552    /// The rows a predicate admits: an `admitted_rows` wire.
553    impl Wire for Shared<OrdinalSet> {
554        const PORT: PortType = PortType::AdmittedRows;
555        fn extract(v: &Value) -> Self {
556            match v {
557                Value::Dataset(DatasetValue::AdmittedRows(set)) => Shared(set.clone()),
558                other => extract_mismatch("Shared<OrdinalSet>", Self::PORT, other),
559            }
560        }
561        fn inject(self) -> Value {
562            Value::Dataset(DatasetValue::AdmittedRows(self.0))
563        }
564    }
565
566    /// The forms of a predicate facet: a `forms` wire.
567    impl Wire for Shared<PredicateForms> {
568        const PORT: PortType = PortType::Forms;
569        fn extract(v: &Value) -> Self {
570            match v {
571                Value::Dataset(DatasetValue::PredicateForms(forms)) => Shared(forms.clone()),
572                Value::Dataset(d @ DatasetValue::RecordForms(_)) => {
573                    wrong_kind("the forms of a predicate facet", d)
574                }
575                other => extract_mismatch("Shared<PredicateForms>", Self::PORT, other),
576            }
577        }
578        fn inject(self) -> Value {
579            Value::Dataset(DatasetValue::PredicateForms(self.0))
580        }
581    }
582
583    /// The forms of a record facet: a `forms` wire.
584    impl Wire for Shared<RecordForms> {
585        const PORT: PortType = PortType::Forms;
586        fn extract(v: &Value) -> Self {
587            match v {
588                Value::Dataset(DatasetValue::RecordForms(forms)) => Shared(forms.clone()),
589                Value::Dataset(d @ DatasetValue::PredicateForms(_)) => {
590                    wrong_kind("the forms of a record facet", d)
591                }
592                other => extract_mismatch("Shared<RecordForms>", Self::PORT, other),
593            }
594        }
595        fn inject(self) -> Value {
596            Value::Dataset(DatasetValue::RecordForms(self.0))
597        }
598    }
599
600    /// One predicate as structure: a `fragment` wire.
601    impl Wire for PredicateFragment {
602        const PORT: PortType = PortType::Fragment;
603        fn extract(v: &Value) -> Self {
604            match v {
605                Value::Dataset(DatasetValue::Predicate(fragment)) => fragment.clone(),
606                Value::Dataset(d @ DatasetValue::Record(_)) => {
607                    wrong_kind("a predicate fragment", d)
608                }
609                other => extract_mismatch("PredicateFragment", Self::PORT, other),
610            }
611        }
612        fn inject(self) -> Value {
613            Value::Dataset(DatasetValue::Predicate(self))
614        }
615    }
616
617    /// One metadata record as structure: a `fragment` wire.
618    impl Wire for RecordFragment {
619        const PORT: PortType = PortType::Fragment;
620        fn extract(v: &Value) -> Self {
621            match v {
622                Value::Dataset(DatasetValue::Record(fragment)) => fragment.clone(),
623                Value::Dataset(d @ DatasetValue::Predicate(_)) => {
624                    wrong_kind("a record fragment", d)
625                }
626                other => extract_mismatch("RecordFragment", Self::PORT, other),
627            }
628        }
629        fn inject(self) -> Value {
630            Value::Dataset(DatasetValue::Record(self))
631        }
632    }
633}