now supports any cardinality
now supports any cardinality