bugfixing, anchor handling, documentation, logging