Fix bug #5
Merge pull request #6 from matthias-ronge/ugh_issue_5

Merge: The whole logical structure is written to the anchors (#5)