added cardinality documentation
Merge branch 'master' into 0.1.1