adapted changes of Glyph-API
better comments