add documentation to HeadNode, see #34