Edge Masking and Formatting