Adding a masking layer