add snippets to Cardinality section