adding Molly's corrections to the cardinality