Improved edge marking