attempting to puts output of cardinality command