Creative Commons licenses have three layers - a legal code, a commons deed that summarizes the legal terms, and a machine-readable version. There are four license pieces that can be combined to create six licenses total. All require attribution of the original author. Other pieces include allowing adaptations if shared under the same license (CC-BY-SA), prohibiting commercial use (CC-BY-NC), and prohibiting derivatives (CC-BY-ND). Creative Commons also has a public domain tool to dedicate works directly to the public domain or allow any use. Copyright exceptions are not affected by Creative Commons licenses.