checking cardinality print