changed cardinality of multiple ports from n to 0..n