Got cardinality working.