changed endmarker